[INFO] cloning repository https://github.com/akofke/texas_holdem
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akofke/texas_holdem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a82f3801abe7978a0f2ebf6ff2c04ef6f193f13
[INFO] checking akofke/texas_holdem against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakofke%2Ftexas_holdem" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/akofke/texas_holdem on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/akofke/texas_holdem
[INFO] finished tweaking git repo https://github.com/akofke/texas_holdem
[INFO] tweaked toml for git repo https://github.com/akofke/texas_holdem written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/akofke/texas_holdem already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b12e426903a14e8936909bb4aa8f6103f4e662615ea6cdf53584488f9b0e8ae6
[INFO] running `Command { std: "docker" "start" "-a" "b12e426903a14e8936909bb4aa8f6103f4e662615ea6cdf53584488f9b0e8ae6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b12e426903a14e8936909bb4aa8f6103f4e662615ea6cdf53584488f9b0e8ae6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b12e426903a14e8936909bb4aa8f6103f4e662615ea6cdf53584488f9b0e8ae6", kill_on_drop: false }`
[INFO] [stdout] b12e426903a14e8936909bb4aa8f6103f4e662615ea6cdf53584488f9b0e8ae6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a10a0f8616ad85c1d574476cc030453e87c0171678652647bbd8a8ee8a7fcff5
[INFO] running `Command { std: "docker" "start" "-a" "a10a0f8616ad85c1d574476cc030453e87c0171678652647bbd8a8ee8a7fcff5", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.5
[INFO] [stderr]     Checking libc v0.2.4
[INFO] [stderr]    Compiling advapi32-sys v0.1.2
[INFO] [stderr]     Checking rand v0.3.12
[INFO] [stderr]     Checking texas_holdem v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0507]: cannot move out of `self.players` which is behind a mutable reference
[INFO] [stdout]   --> src/main.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |             for player in self.players {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `self.players` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]    |                           move occurs because `self.players` has type `Vec<Player>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `self.players`
[INFO] [stdout] help: consider iterating over a slice of the `Vec<Player>`'s content to avoid moving into the `for` loop
[INFO] [stdout]    |
[INFO] [stdout] 82 |             for player in &self.players {
[INFO] [stdout]    |                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `player.hand` as mutable, as `player` is not declared as mutable
[INFO] [stdout]   --> src/main.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |             for player in self.players {
[INFO] [stdout]    |                 ------ help: consider changing this to be mutable: `mut player`
[INFO] [stdout] 83 |                 player.hand.push(self.deck.pop());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.players` which is behind a mutable reference
[INFO] [stdout]   --> src/main.rs:82:27
[INFO] [stdout]    |
[INFO] [stdout] 82 |             for player in self.players {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `self.players` moved due to this implicit call to `.into_iter()`
[INFO] [stdout]    |                           move occurs because `self.players` has type `Vec<Player>`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: this function takes ownership of the receiver `self`, which moves `self.players`
[INFO] [stdout] help: consider iterating over a slice of the `Vec<Player>`'s content to avoid moving into the `for` loop
[INFO] [stdout]    |
[INFO] [stdout] 82 |             for player in &self.players {
[INFO] [stdout]    |                           +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `player.hand` as mutable, as `player` is not declared as mutable
[INFO] [stdout]   --> src/main.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |             for player in self.players {
[INFO] [stdout]    |                 ------ help: consider changing this to be mutable: `mut player`
[INFO] [stdout] 83 |                 player.hand.push(self.deck.pop());
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0507, E0596.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `texas_holdem` due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `texas_holdem` due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "a10a0f8616ad85c1d574476cc030453e87c0171678652647bbd8a8ee8a7fcff5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a10a0f8616ad85c1d574476cc030453e87c0171678652647bbd8a8ee8a7fcff5", kill_on_drop: false }`
[INFO] [stdout] a10a0f8616ad85c1d574476cc030453e87c0171678652647bbd8a8ee8a7fcff5
